package org.bigdata.framework.core.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author dal.anhuifeng
 * @since 2017-04-18
 */
@TableName("baike_entry_version")
public class BaikeEntryVersion implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 分类号
	 */
	private String sid;

	/**
	 * 名称@solr公共字段
	 */
	private String title;

	/**
	 * 概述图
	 */
	@TableField(value="description_img")
	private String descriptionImg;

	/**
	 * 概述内容@solr公共字段
	 */
	private String description;

	/**
	 * 基本信息内容（键值对；支持多值）
	 */
	@TableField(value="basic_text")
	private String basicText;

	/**
	 * 正文（存储HTML格式）@solr公共字段
	 */
	@TableField(value="main_text")
	private String mainText;

	/**
	 * 相册（标题、描述、路径；多值存储）
	 */
	@TableField(value="photo_album")
	private String photoAlbum;

	/**
	 * 数据来源
	 */
	private String source;

	/**
	 * 参考资料（编号、文章名、URL、网站名、发表日期、引用日期（默认当前日期-年月日）；支持多值）
	 */
	@TableField(value="reference_material")
	private String referenceMaterial;

	/**
	 * 关联词（关系标识#词条ID`关系标识#词条ID；支持多值） 关系标识：synonyms(同义词)
	 */
	private String relationship;

	/**
	 * 作者（创建人用户名，对接统一认证系统）@solr公共字段
	 */
	private String author;

	/**
	 * 日期（创建的时候存储创建日期，编辑审核后存储编辑的日期）@solr公共字段
	 */
	private String date;

	/**
	 * ip地址（创建的时候存储创建ip，编辑审核后存储编辑ip）
	 */
	@TableField(value="ip_address")
	private String ipAddress;

	/**
	 * 版本号
	 */
	private String version;

	/**
	 * 百科词条ID
	 */
	@TableField(value="baike_entry_id")
	private Integer baikeEntryId;



	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getSid() {
		return sid;
	}

	public void setSid(String sid) {
		this.sid = sid;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescriptionImg() {
		return descriptionImg;
	}

	public void setDescriptionImg(String descriptionImg) {
		this.descriptionImg = descriptionImg;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getBasicText() {
		return basicText;
	}

	public void setBasicText(String basicText) {
		this.basicText = basicText;
	}

	public String getMainText() {
		return mainText;
	}

	public void setMainText(String mainText) {
		this.mainText = mainText;
	}

	public String getPhotoAlbum() {
		return photoAlbum;
	}

	public void setPhotoAlbum(String photoAlbum) {
		this.photoAlbum = photoAlbum;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getReferenceMaterial() {
		return referenceMaterial;
	}

	public void setReferenceMaterial(String referenceMaterial) {
		this.referenceMaterial = referenceMaterial;
	}

	public String getRelationship() {
		return relationship;
	}

	public void setRelationship(String relationship) {
		this.relationship = relationship;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getIpAddress() {
		return ipAddress;
	}

	public void setIpAddress(String ipAddress) {
		this.ipAddress = ipAddress;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public Integer getBaikeEntryId() {
		return baikeEntryId;
	}

	public void setBaikeEntryId(Integer baikeEntryId) {
		this.baikeEntryId = baikeEntryId;
	}

}
